package com.qdxwx.models.coupon;

import java.io.Serializable;

public class CouponLimit implements Serializable{

    private static final long serialVersionUID = 4418454772064842330L;

    private Long id;
    private Long couponId;	//优惠券ID
    private Integer courseId;	//课程id
    private int used;	//优惠券发放 0 不启用 1启用
    private String couponName;	//优惠券名称
    private int giveType;	//优惠券发放类型 1 普通发放 2 分享注册 3 购买课程

    public CouponLimit() {
    }

    public Long getId() {
        return this.id;
    }

    public Long getCouponId() {
        return this.couponId;
    }

    public Integer getCourseId() {
        return this.courseId;
    }

    public int getUsed() {
        return this.used;
    }

    public String getCouponName() {
        return this.couponName;
    }

    public int getGiveType() {
        return this.giveType;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public void setUsed(int used) {
        this.used = used;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public void setGiveType(int giveType) {
        this.giveType = giveType;
    }

    @Override
    public String toString() {
        return "CouponLimit{" +
                "id=" + id +
                ", couponId=" + couponId +
                ", courseId=" + courseId +
                ", used=" + used +
                ", couponName='" + couponName + '\'' +
                ", giveType=" + giveType +
                '}';
    }
}